// index.js
import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/components/Home.vue'
import News from '@/components/News.vue'
import Profile from '@/components/Profile.vue'
import BronzeRestoration from '@/components/BronzeRestoration.vue'
import Readme from '@/components/Readme.vue'
import BronzeCodex from '@/components/BronzeCodex.vue'
import RecogChallenge from '@/components/RecogChallenge.vue'
import CollectedQuestions from '@/components/CollectedQuestions.vue'
import BronzeMirror from '@/components/BronzeMirror.vue'
import Map from '@/components/Map.vue'
import CollectedNews from '@/components/CollectedNews.vue'
import BronzeClassification from '@/components/BronzeClassification.vue'
import CollectedArtifacts from '@/components/CollectedArtifacts.vue'
import BronzeGuide from '@/components/BronzeGuide.vue'
import Admin from '@/components/Admin.vue'
import Nerf from '@/components/Nerf.vue'
import Footer from '@/components/Footer.vue'
const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/news',
    name: 'News',
    component: News
  },
  {
    path: '/profile',
    name: 'Profile',
    component: Profile
  },
  {
    path: '/bronzerestoration',
    name: 'BronzeRestoration',
    component: BronzeRestoration
  },
  {
    path: '/readme',
    name: 'Readme',
    component: Readme
  },
  {
    path: '/bronzecodex',
    name: 'BronzeCodex',
    component: BronzeCodex
  },
  {
    path: '/recogchallenge',
    name: 'RecogChallenge',
    component: RecogChallenge
  },
  {
    path: '/collectedquestions',
    name: 'CollectedQuestions',
    component: CollectedQuestions
  },
  {
    path: '/bronzemirror',
    name: 'BronzeMirror',
    component: BronzeMirror
  },
  {
    path: '/map',
    name: 'Map',
    component: Map
  },
  {
    path: '/collectednews',
    name: 'CollectedNews',
    component: CollectedNews
  },
  {
    path: '/bronzeclassification',
    name: 'BronzeClassification',
    component: BronzeClassification
  },
  {
    path: '/collectedartifacts',
    name: 'CollectedArtifacts',
    component: CollectedArtifacts
  },
  {
    path: '/bronzeguide',
    name: 'BronzeGuide',
    component: BronzeGuide
  },
  {
    path: '/admin',
    name: 'Admin',
    component: Admin
  },
  {
    path: '/nerf',
    name: 'Nerf',
    component: Nerf
  },
  {
    path: '/footer',
    name: 'Footer',
    component: Footer
  }

]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
